//
//  AloTruyenModal.h
//  AloTruyen
//
//  Created by vominhthong on 9/27/14.
//  Copyright (c) 2014 Khoai Nguyen Minh. All rights reserved.
//

#import <Foundation/Foundation.h>
@interface Author : NSObject
@property (nonatomic,strong) NSString *idAuthor;
@property (nonatomic,strong) NSString *nameAuthor;
-(instancetype)initAuthorWithDictionary:(NSDictionary*)params;
@end

@interface AloTruyenModal : NSObject
@property (nonatomic,strong) NSString *titleBook;
@property (nonatomic,strong) NSString *authorBook;
@property (nonatomic,strong) NSString *downloadCount;
@property (nonatomic,strong) NSURL    *thumbNail;
@property (nonatomic,strong) NSString *idBook;
@property (nonatomic,strong) Author *author;

-(instancetype)initHomeItemWithSpecIDFromLeftMenu:(NSDictionary*)params;
-(instancetype)initHomeItemWithDictionary:(NSDictionary*)params;
@property (nonatomic,strong) NSString *specID;
-(instancetype)initWithDictionary:(NSDictionary*)params;
@end
